home *** CD-ROM | disk | FTP | other *** search
/ Grand Slam 3 / Grand Slam 3.iso / 008 / deutex33.arj / TRINITY.BAT < prev    next >
DOS Batch File  |  1994-11-14  |  2KB  |  91 lines

  1. echo off
  2. echo.     ------------------------------------
  3. echo.     DeuTex Functionalities demonstration
  4. echo.     ------------------------------------
  5. echo.
  6. echo.  you must put trinity.wad in this directory
  7. echo.  doom.wad should be in the \doom directory
  8. echo.
  9. pause
  10. echo. Checking existence of trinity.wad
  11. if  exist trinity.wad  goto chk1
  12. echo Error!   trinity.wad is not in this directory.
  13. goto end
  14. :chk1
  15. echo. Checking existence of DOOM.WAD
  16. if  exist \doom\doom.wad goto chk2
  17. if  exist \doom2\doom2.wad goto chk2
  18. echo Error! \doom\doom.wad does not exist 
  19. goto end
  20. :chk2
  21. echo. All is OK!
  22. echo.
  23. echo. ----------------------------------------
  24. echo. Now listing the directory of trinity.wad
  25. echo. ----------------------------------------
  26. echo.
  27. pause
  28.  
  29. rem ***DeuTex***
  30. deutex  -wadir trinity.wad   > dir666.txt
  31. type dir666.txt | more
  32. del dir666.txt
  33.  
  34. echo.
  35. echo. Now trying to extract entries of trinity.wad
  36. echo. in the current directory
  37. echo.
  38. pause
  39.  
  40. rem ***DeuTex***
  41. deutex -dir . -extract trinity.wad
  42.  
  43. echo.
  44. echo. -----------------
  45. echo. Look at the mess!
  46. echo. -----------------
  47. echo.
  48. pause
  49. dir /s | more
  50. echo.
  51. echo. ----------------------------------
  52. echo. The file WADINFO.TXT describes the 
  53. echo.  contents of the PWAD trinity.wad
  54. echo. ----------------------------------
  55. echo.
  56. pause
  57. type wadinfo.txt | more
  58. echo.
  59. echo. ------------------------------------------
  60. echo. Now rebuilding trinity.wad as trinidad.wad
  61. echo. ------------------------------------------
  62. echo.
  63. pause
  64.  
  65. rem ***DeuTex*** 
  66. deutex -dir . -make wadinfo.txt trinidad.wad
  67. echo.
  68. echo. -----------------------------------------------
  69. echo. trinidad.wad was built. successfuly? let's check!
  70. echo. -----------------------------------------------
  71. echo.
  72. dir
  73. echo.
  74. echo. ----------------------------------
  75. echo. now calling DOOM with trinidad.wad
  76. echo. ----------------------------------
  77. echo.
  78. pause
  79. echo copying trinidad.wad into \DOOM directory 
  80. copy trinidad.wad \doom\trinidad.wad
  81. cd \doom
  82. doom -file trinidad.wad
  83. echo.
  84. echo. Are you satisfied?
  85. echo. If yes, tell me: mail montanuy@dmi.ens.fr
  86. echo. If no, tell me also!
  87. echo. And if there was a bug, sorry!
  88. echo.
  89.  
  90. :end
  91. echo the end